import face_recognition
import cv2

image=face_recognition.load_image_file("../data/mac2.jpeg")
locs=face_recognition.face_locations(image)

img=cv2.imread("../data/mac2.jpeg")
for item in locs:
    top, right, bottom, left=item
    cv2.rectangle(img,(left,top),(right,bottom),(0,255,0))


cv2.imshow("labeld face",img)

cv2.waitKey(0)